package com.jeecg.demo.dao;
import org.jeecgframework.core.common.dao.IGenericBaseCommonDao;

import com.jeecg.demo.entity.AppUserEntity;
import com.jeecg.demo.entity.SysUserEntity;

public interface IAppUserDao extends IGenericBaseCommonDao {
	
	/**
	 * 根据用户名密码获取客户端用户
	 * @param username
	 * @param password
	 * @return
	 */
	public SysUserEntity findAppUserByAccountAndPassword(String username,
			String password);

	/**
	 * 修改客户端用户密码
	 */
	public void updatePwd(String phoneNum, String newPwd);

	/**
	 * 检验手机号是否唯一
	 */
	public AppUserEntity checkPhone(String phoneNum);
}
